Skip to main content

words

Type

keyword

Summary

Used with the sort command, number function, and is among and is not among properties to designate space-delimited or quoted parts of a string. Also used with the find command to search for one or more entire words.

Syntax

words

Description

Use the words keyword to sort or select individual words.

A word is a set of characters enclosed by spaces, tabs, or returns.

note

To refer to actual words, i.e., words delimited by Unicode word breaks, use the keyword trueWords.

When used with the find command, the words keyword finds cards that contain each of the specified words, though not necessarily next to each other.

Examples

put (field 2 is among the words of field 1) into spellcheckMe
find words "run" -- finds "run", but not "running" or "grunt"

operator: is among, is not among

property: properties

command: select, find, sort

control structure: function

function: number

glossary: keyword, command, quoted, delimit, Unicode

keyword: word, string, words, trueWords

object: card

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?